package net.thxjj.adminServer.dao;

import net.thxjj.adminServer.util.ParameterMap;
import net.thxjj.sitermodel.Role;
import net.thxjj.sitermodel.User;

import java.util.List;

public interface UserApiDao {

    public Long getUserByToken(String token);
    public User getUserInfoByToken(String token);
    public void updateToken(ParameterMap pm);
    public User getUserInfo(ParameterMap pm);
    public List<Role> getUserRoleList(ParameterMap pm);
}
